package com.bdzl.admin.service.data;

import com.bdzl.pub.entity.data.SubscriptionDO;

import java.util.List;
import java.util.Map;

/**
 * 用户公众号信息表记录用户的公众号信息、小程序的 operid，以及微信的 untion_id
 * 
 * @author yangyicai
 * @email yangyicai@foxmail.com
 * @date 2021-03-23 13:57:43
 */
public interface SubscriptionService {
	
	SubscriptionDO get(Integer id);
	
	List<SubscriptionDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(SubscriptionDO subscription);
	
	int update(SubscriptionDO subscription);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);
}
